package operation;

import book.BookList;

public class DisplayOperation implements IOperation{
    public void work(BookList bookList){
        System.out.println("显示图书!");
        int size=bookList.getUsedSize();
        for(int i=0;i<size;i++){
            System.out.println(bookList.getPos(i));
        }
    }
}
